home *** CD-ROM | disk | FTP | other *** search
- Path: mayne.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: How to make it BEEP ?
- Date: 21 Mar 1996 12:23:08 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4isdrcINNsq6@mayne.ugrad.cs.ubc.ca>
- References: <4inmv1$ljj@sunburst.ccs.yorku.ca> <4is9tf$8o3@spanky.pls.ov.com>
- NNTP-Posting-Host: mayne.ugrad.cs.ubc.ca
-
- In article <4is9tf$8o3@spanky.pls.ov.com>,
- Fletcher.Glenn@ov.com <glenn@ov.com> wrote:
-
- >Almost all terminals and terminal emulations will cause a beep if you
- >send the "bell" code (control G). This is ASCII code '\007'.
- >
- >Try:
- >
- > putc('\007', stdout);
- > fflush(stdout);
- >
- > Fletcher.Glenn@ov.com
-
- No need to make that ascii specific. The C standard gives you a symbolic code
- for the alert character.
-
- putchar('\a');
- --
-
-